package com.ag.promanagement.control;

import com.ag.promanagement.CargoType;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 *
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ICargoTypeLogic {
    public List<CargoType> getCargoType() throws Exception;

    public void saveCargoType(Long id, String type) throws Exception;

    public void deleteCargoType(Long id) throws Exception;

    public void updateCargoType(Long id, String type) throws Exception;

    public CargoType getCargoType(Long id) throws Exception;

    public List<CargoType> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<CargoType> findPageCargoType(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberCargoType() throws Exception;
}
